﻿using HCore;

public static class ExtendMethod
{
    public static UnityEngine.Vector3 ToUVec3(this Vector3 value)
    {
        return new UnityEngine.Vector3((float) value.x, (float) value.y, (float) value.z);
    }

    public static Vector3 ToHVec3(this UnityEngine.Vector3 value)
    {
        return new Vector3((FixConst) value.x, (FixConst) value.y, (FixConst) value.z);
    }
}